/* 点击高亮我们需要清除 设置为transparent 完成透明 */
*{
    -webkit-tap-highlight-color: transparent;
}
/* 在移动端浏览器默认的外观在ios上加上这个属性才能给按钮和输入框自定义样式 */
input{
  -webkit-appearance: none;
}
input:focus {
    outline: none; /* 去掉默认的外边框阴影 */
  }
/* 禁用长按页面时弹出的菜单 */
img,a{
    -webkit-touch-callout: none;
}
*{
    margin: 0 ;
    padding: 0;
}
body{
    min-width: 320px;
    max-width: 414px;
    margin: 0 auto;
    background-color: #f8f8f8;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;

}
ul>li{
    list-style: none;
}
/* 标题部分开始 */
.iot_title{
    position: relative;
    width: 100%;
    height: 45px;
    box-sizing: border-box;
}

.iot_title p{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
}
/* 标题部分结束 */

/* 搜索框部分开始 */
.iot_search{
    position: relative;
    display: flex;
    width: 100%;
    height: 40px;
}

.iot_search input{
    margin: auto;
    width: 90%;
    height: 100%;
    padding-left: 40px;
    background-color: #e9eeed;
    border: none;
    border-radius: 20px;
}
.iot_search span{
    position: absolute;
    left: 30px;
    top: 10px;
    margin-right: 10px;
    color: #9b9b9b;
    font-size: 20px;
}
/* 搜索框部分结束 */

/* 主体部分开始 */
main{
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
}
/* 主体部分结束 */

/* 侧边导航栏开始 */
nav{
    box-sizing: border-box;
    width: 23%;
    height: 500px;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul{
    width: 100%;
    height: 100%;
    list-style: none;
}
nav ul li{
    display: flex;
    box-sizing: border-box;
    padding: 20px 0 0 30px;
    width: 100%;
    height: 11%;
    text-align: center;
    border-bottom: 1px solid #b1aeae;
}
nav ul li a{
    font-size: 16px;
    text-decoration: none;
    color:#777777;
}
nav ul li.active{
   border-right: 2px solid rgb(3, 142, 3);
 
}

/* 轮播图部分开始 */
aside{
    margin: 10px;
    width: 77%;
    height: 100%;
    box-sizing: border-box;
}
/* 轮播图部分开始 */
.iot_img{
    position: relative;
     width: 100%;
     height: 120px;
}
.iot_img ul{
    width: 100%;
    height: auto;
}
.iot_img ul li{
    position: absolute;
    width: 100%;
    height: 100%;
}
.iot_img img{
    width: 100%;
    height: 120px;
}
.iot_img li {
    opacity: 0;
    transition: opacity .5s linear;
}
.iot_img li.active{
    opacity: 1;
}
/* 轮播图部分结束 */

/* 轮播图部分结束 */

/* 商品部分开始 */
.iot_goods{
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}
.iot_goods>div{
    margin-top: 5px;
    width: 100%;
    height: 220px;
    background-color: rgb(249, 249, 249);
    border-radius: 5%;
}
.iot_good_title{
    width: 100%;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.iot_good_title p{
    font-size: 18px;
}
.iot_good_title span{
    font-size: 14px;
    color: gray;
}
.iot_good{
    width: 100%;
    height: 80%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.iot_good a{
    width: 33.3%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 2px;
    text-decoration: none;
} 
.iot_good a img{
    width: 100%;
    height: 100px;
}
.iot_good a p{
    width: 100%;
    height: 40px;
    color: black;
    overflow: hidden;
}
.iot_good a span{
    display: block;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding-left: 5px;
    color: rgb(177, 13, 13);
}
/* 商品部分结束 */

/* 底部部分开始 */
footer{
    max-width: 414px;
    position: fixed;
    display: flex;
    bottom: 0;
    width: 100%;
    height: 56px;
    background-color: #ffffff;
    border-radius: 10px;
    z-index: 999;
 }
 footer div{
    
    width: 25%;
    height: 100%;
    box-sizing: border-box;
 }
 footer div a {
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    text-align: center;
    text-decoration: none;
    color: black;
 }
 footer div a span{
    display: block;
    width: 100%;
    font-size: 16px;
 }
 footer div a img{
    width: 30px;
    height: 30px;
 }